package edu.hawaii.myisern.exceptions;
/**
 * Custom exception for an invalid researcher name.
 * @author John Hauge
 *
 */
public class InvalidResearcherNameException extends Exception {
  /**
   * Generated Serial id.
   */
  private static final long serialVersionUID = 2659375379456019501L;
  private String mistake;
  
  /**
   * Constructor.
   * @param name Name that is invalid.
   */
  public InvalidResearcherNameException(String name) {
    super();
    mistake = "Invalid Researcher Name: " + name;
  }  

}
